package com.kakarote.admin.entity.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @author zhangzhiwei
 * BO业务逻辑代码
 */
@Data
@ToString
@ApiModel(value = "AdminCompany对象", description = "云平台公司配置表")
public class AdminCompanyBO {


    @ApiModelProperty(value = "企业名称", required = true, example = "良心企业")
    @NotEmpty
    private String companyName;

    @ApiModelProperty(value = "企业LOGO", example = "/logo")
    private String companyLogo;

    @ApiModelProperty(value = "企业登录LOGO", example = "/logo")
    private String companyLoginLogo;

    @ApiModelProperty(value = "金额单位", required = true, example = "0")
    private String monetaryUnit;

    @ApiModelProperty(value = "企业过期时间", example = "2020-01-01 00:00:00")
    private String endTime;

    @ApiModelProperty(value = "据过期天数", example = "5")
    private Integer endDay;
}
